<script setup>

</script>

<template>
  <view id="top-background">
  </view>
  <view id="background">
    <view id="h1">
      <view id="h1_1">
        <view id="circle">
          <view id="surname">
            张
          </view>
        </view>
        <view id="name">
          张小白
        </view>
        <view id="studentId">
          2020090911004
        </view>
      </view>
      <view class="words">
        请假类型: 回家
      </view>
      <view class="words">
        申请时间：2022-11-26 17:56:32
      </view>
      <view class="words">
        开始时间：2022-11-26 17:56:32
      </view>
      <view class="words">
        结束时间：2022-11-26 17:56:32
      </view>
      <view id="bottom">
        <view>
          <image id="picture" src="/static/image/picture/clock.png"></image>
        </view>
        <view id="words_1">
          返校申请流程进行中
        </view>
      </view>
    </view>
  </view>
  <view id="background_2">
      <view id="h2">
        完成返校申请后
        才能发起新的请假
      </view>
  </view>
</template>

<style scoped>
#top-background{
  width: 100%;
  height: 70px;
  background: linear-gradient(180.00deg, #2264ff 0%, #f5f5f5 100%);
}

#background{
  display: flex;
  justify-content: center;
}

#background_2{
  display: flex;
  justify-content: center;
}

#h1{
  width: 345px;
  height: 170px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 4px #c8c7cc;
  padding: 10px;
  margin-top: -40px;
}

#h2{
  font-weight: 400;
  font-size: 14px;
  width: 115px;
  text-align: center;
  color: #999;
  position: relative;
  bottom: -400px;
}

#h1_1{
  display: flex;
  justify-content: space-between;
}

#circle{
  width: 45px;
  height: 45px;
  border-radius: 45px;
  background-color: #2264ff;
}

#surname{
  color: #f8f8f8;
  text-align: center;
  margin-top: 9px;
  margin-left: 0.5px;
  font-weight: 700;
  font-size: 18px;
}

#name{
  font-weight: 700;
  font-size: 17px;
  text-align: left;
  color: #1a1a1a;
  margin-top: 10px;
  margin-left: -100px;
}

#studentId{
  color: #999999;
  font-weight: 400;
  font-size: 16px;
  margin-top: 10px;
  margin-right: 10px;
}

.words{
  margin-top: 5px;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  color: #808080;}

#bottom{
  display: flex;
}

#picture{
  width: 20px;
  height: 20px;
  margin-top: 5px;
}

#words_1{
  margin-top: 5px;
  margin-left: 5px;
  font-weight: 400;
  font-size: 13px;
  text-align: right;
  color: #2264ff;
}
</style>